import request from "./request.js"; 
export function ChannelsList(){
    return request.get("/pay/payment/channel/list") 
} 
//支付功能
export function Payment(data){
    return request.post("/auth/user/Remittance",data) 
} 
//模拟支付回调
export function PaymentNotify(data){
    return request.post("/pay/pay/notify/test",data) 
} 


export function PayOrderList(data){
    return request.post("/auth/user/order/query",data)
}


//展示充值订单列表
export function rechargeOrderList(){
    return request.get("/auth/aliPay/list")
}

//新增充值订单表
export function addRechargeOrder(total){
    return request({
        method:'post',
        url:'/auth/aliPay/addRechargeOrder',
        params:{total:total}
    })
    }
export function GetParList(){
    return request.get("/auth/user/parList")
}

export function GetPurseMoney(){
    return request.get("/auth/user/PurseMoney")
}
